package com.hailian.fintech.hlfinanceserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.hailian.fintech.hlcomm_interfaceserver.dto.BaoliDto;
import com.hailian.fintech.hlcomm_interfaceserver.entity.POJO;
import com.hailian.fintech.hlfinanceserver.entity.Baoli;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.beans.IntrospectionException;
import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.text.ParseException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wk
 * @since 2020-05-23
 */
public interface IBaoliService extends IService<Baoli> {

    PageInfo selectAllOwner(Integer pageNum, Integer pageSize, POJO pojo);

    XSSFWorkbook downLoadGoodsExcel(BaoliDto baoliDto) throws InvocationTargetException, ClassNotFoundException, IntrospectionException, ParseException, IllegalAccessException;

    void uploadExcel(InputStream inputStream, String originalFilename) throws Exception;
}
